#include <myheader_c_plus.h>
using namespace std;
string getCurrentDate(){
    auto now = chrono::system_clock::now();
    time_t currentTime = chrono::system_clock::to_time_t(now);
    tm* localTime = localtime(&currentTime);    

}
int main(int argc, char *argv[])
{
    ofstream ofs("log.txt",ios::app);
    string CurrentDate = getCurrentDate();
    ofs << CurrentDate;
    ofs << "system is open";

    return 0;
}

